<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html><head>
<title>define</title>
</head><body>
<p>[<a href="mxdoc.htm">mainpage</a>]
[<a href="tags.htm">tags</a>]<br>
<h1>tag: define</h1><ul><li>
<a name=" define MXMODULE_ALLOC"><code># define MXMODULE_ALLOC</code></a>
<p>
<p><b>Turn on memory tracking</b><p>
If this macro is defined the functions mx_malloc, mx_realloc and mx_free
are made to keep track of memory allocated and warn from common memory allocation
mistakes.  If this symbol is not defined then mx_malloc, mx_realloc and mx_free
just pass all arguments to the corresponding stdlib malloc, realloc, and free
function.  In this case no additional memory checking is done.  
(<a href="../include/deds/alloc.h">../include/deds/alloc.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_alloc.htm">alloc</a>)
<p></li>
<li>
<a name=" define mx_malloc"><code># define mx_malloc</code></a>
<p>
<p><b>Replacement for stdlib malloc</b><p>
This function is a wrapper for malloc().  If MXMODULE_ALLOC is defined then
this function keeps track of memory and warns about possible memory allocation
problems.  
(<a href="../include/deds/alloc.h">../include/deds/alloc.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_alloc.htm">alloc</a>)
<p></li>
<li>
<a name=" define mx_realloc"><code># define mx_realloc</code></a>
<p>
<p><b>Replacement for stdlib realloc</b><p>
This function is a wrapper for realloc().  If MXMODULE_ALLOC is defined then
this function keeps track of memory and warns about possible memory allocation
problems.  
(<a href="../include/deds/alloc.h">../include/deds/alloc.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_alloc.htm">alloc</a>)
<p></li>
<li>
<a name=" define mx_free"><code># define mx_free</code></a>
<p>
<p><b>Replacement for stdlib free</b><p>
This function is a wrapper for free().  If MXMODULE_ALLOC is defined then
this function keeps track of memory and warns about possible memory allocation
problems.  
(<a href="../include/deds/alloc.h">../include/deds/alloc.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_alloc.htm">alloc</a>)
<p></li>
<li>
<a name="define false"><code>#define false</code></a>
<p>
<p><b>Macro for false.  </b><p>
(<a href="../include/deds/bool.h">../include/deds/bool.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_bool.htm">bool</a>)
<p></li>
<li>
<a name="define true"><code>#define true</code></a>
<p>
<p><b>Macro for true.  </b><p>
(<a href="../include/deds/bool.h">../include/deds/bool.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_bool.htm">bool</a>)
<p></li>
<li>
<a name="define MXCOLOR_alice"><code>#define MXCOLOR_alice</code></a>
<p>
<p><b>Macros for named colors</b><p>
There are many different MXCOLOR_* macros for named colors.  
(<a href="../include/degfx/colors.h">../include/degfx/colors.h</a>)<br>(library <a href="degfx.htm">degfx</a> : module <a href="degfx_colors.htm">colors</a>)
<p></li>
<li>
<a name=" define MXSCREEN"><code># define MXSCREEN</code></a>
<p>
<p><b>Screen bitmap</b><p>
The macro MXSCREEN can be used to specify the screen redraw buffer.  
(<a href="../include/degfx/coregfx.h">../include/degfx/coregfx.h</a>)<br>(library <a href="degfx.htm">degfx</a> : module <a href="degfx_coregfx.htm">coregfx</a>)
<p></li>
<li>
<a name="define mx_driver_fullscreen"><code>#define mx_driver_fullscreen</code></a>
<p>
<p>The fullscreen driver.  
(<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)<br>(library <a href="degfx.htm">degfx</a> : module <a href="degfx_driver.htm">driver</a>)
<p></li>
<li>
<a name="define mx_driver_windowed"><code>#define mx_driver_windowed</code></a>
<p>
<p>The windowed driver.  
(<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)<br>(library <a href="degfx.htm">degfx</a> : module <a href="degfx_driver.htm">driver</a>)
<p></li>
<li>
<a name="define mx_driver_vga"><code>#define mx_driver_vga</code></a>
<p>
<p>The vga driver.  
(<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)<br>(library <a href="degfx.htm">degfx</a> : module <a href="degfx_driver.htm">driver</a>)
<p></li>
<li>
<a name="define mx_driver_13h"><code>#define mx_driver_13h</code></a>
<p>
<p>The mode 13h driver.  
(<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)<br>(library <a href="degfx.htm">degfx</a> : module <a href="degfx_driver.htm">driver</a>)
<p></li>
<li>
<a name="define MXDEFAULT"><code>#define MXDEFAULT</code></a>
<p>
<p><b>Default integer value</b><p>
MXDEFAULT is defined as a const int value that can recognized as a
default value and is unlikely to occurr otherwise.  This is useful for
situations where a value of 0 cannot be used as a default value.  
(<a href="../include/detk/default.h">../include/detk/default.h</a>)<br>(library <a href="detk.htm">detk</a> : module <a href="detk_default.htm">default</a>)
<p></li>
</ul><p>Generated by <a href="http://www.deleveld.dds.nl/mxdoc/index.htm">MXDOC</a> 2.2 on Sun Feb  4 15:16:25 2007


</body></html>
